package com.demo.server.mapper;

import java.util.List;

import com.demo.server.entity.User;
import com.demo.server.entity.dto.UserDto;

public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User row);

    int insertSelective(User row);

    User selectByPrimaryKey(String id);
    
    User selectByUsername(String username);
    
    List<User> select(UserDto row);

    int updateByPrimaryKeySelective(User row);

    int updateByPrimaryKey(User row);
}